From 07f6d4ae18f768326e24a6559d0808f5f01aec32 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 6 Mar 1993 06:06:10 +0000 Subject: [PATCH] (electric-help-command-loop): Handle any kind of event. --- lisp/ehelp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ehelp.el b/lisp/ehelp.el index 327d48936ba..e73fe74a124 100644 --- a/lisp/ehelp.el +++ b/lisp/ehelp.el @@ -119,7 +119,7 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit" (catch 'exit (if (pos-visible-in-window-p (point-max)) (progn (message "<<< Press Space to bury the help buffer >>>") - (if (= (setq unread-command-events (list (read-char))) ?\ ) + (if (eq (setq unread-command-events (list (read-event))) ?\ ) (progn (setq unread-command-events nil) (throw 'exit t))))) (let (up down both neither -- 2.30.2